<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/init.jsp"%>
<jsp:include page="/WEB-INF/jsp_lib/showimage.jsp" />
<script type="text/javascript">
	function query() {
		var url = $("#form1").attr("action") + "?" + $("#form1").serialize();
		add_and_edit(url);
	}


	$(function(){
		var img = "<img src='${path}/img/imgid.htm?mh=500&mw=500'/>";
		showBig(img);
	});
</script>
<jsp:include page="/WEB-INF/jsp_lib/tip.jsp" />
<div>
	<form action="${path}/ix/log/seal/use/list.htm" id="form1"
		method="post">
		<input name='bank_id' value='${bank_id}' type="hidden" />
		<h2>
			<div>设备用印日志</div>
		</h2>
		<div class="query">
			<table width="99%" border="0" align="center" cellpadding="0"
				cellspacing="5">
				<tr>
					<td width="80" align="right"><strong>印章编号：</strong></td>
					<td width="200" align="left"><input name="srh_name"
						value="${srh_name }" type="text" /></td>
					<td align="left"><a href="javascript:query();"> <img
							src="${path}/style_cp/img/query.jpg" name="Image4" width="85"
							height="27" border="0" id="Image4" />
					</a></td>
				</tr>
			</table>
		</div>

		<table width="99.5%" class="listlindex">
			<tr>
				<th>用印编号</th>
				<th>印章类型</th>
				<th>印章模块编号</th>
				<th>设备编号</th>
				<th>用印状态</th>
				<th>用印时间</th>
				<th>确认用户</th>
				<th>授权用户</th>
				<th>授权时间</th>
				<th>用印前图像</th>
				<th>用印后图像</th>
				<th>用印人图像</th>
			</tr>
			<c:if test="${fn:length(list)==0}">
				<tr>
					<td colspan="12"><div class="tip_div">暂无记录.</div></td>
				</tr>
			</c:if>
			<c:forEach items="${list}" var="v">
				<tr>
					<td>${v.seal_code}</td>
					<td>${v.seal_type}</td>
					<td>${v.seal_modle_code}</td>
					<td>${v.mac_code}</td>
					<td>${v.flag}</td>
					<td><fmt:formatDate value="${v.seal_time}"
							pattern="yyyy-MM-dd HH:mm:ss" /></td>
					<td>${v.uname}</td>
					<td>${v.auth_name}</td>
					<td>${v.auth_time}</td>
					<td><a href="${path}/img/${v.file_id_before}.htm"
						target="_blank" class="banimg" id="${v.file_id_before}"> <img
							src='${path}/img/${v.file_id_before}.htm?mh=50&mw=50' />
							</a></td>
					<td><a href="${path}/img/${v.file_id}.htm" target="_blank"
						class="banimg" id="${v.file_id}"> <img
							src='${path}/img/${v.file_id}.htm?mh=50&mw=50' />
							</a></td>
					<td><a href="${path}/img/${v.file_id_user}.htm"
						target="_blank" class="banimg" id="${v.file_id_user}"> <img
							src='${path}/img/${v.file_id_user}.htm?mh=50&mw=50' />
							</a></td>
				</tr>
			</c:forEach>
			<c:if test="${fn:length(list)!=0}">
				<tr>
					<td colspan="12"><page:page page="${page}" is_ajax="true"
							ajax_id="add_edit_form" /></td>
				</tr>
			</c:if>
		</table>
		<div id="response"></div>
	</form>

</div>
